<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s"%>

<html>
<head>
<s:head />
<title>Bar detail</title>
</head>
<body>

Bar: <br/><br/>
<table cellpadding="20" border="1">
	<tr>
		<td colspan="4">
		<s:form action="editBar" method="GET">	
			<input type="hidden" name="id" value="<s:property value='bar.id' />"/>		
			<s:submit value="Edit"/>
		</s:form>
		
		<s:form action="removeBar" method="GET">	
			<input type="hidden" name="id" value="<s:property value='bar.id' />"/>		
			<s:submit value="Remove"/>
		</s:form>
		
		</td>				
	</tr>
	<tr>
		<td><b>Id</b></td>
		<td><b>Name</b></td>
		<td><b>address</b></td>
		<td><b>score</b></td>
	</tr>
	<tr>
		<td><s:property value="bar.id" /></td>
		<td><s:property value="bar.name" /></td>
		<td><b><s:property value="bar.address" /></b></td>
		<td><b><s:property value="bar.score" /></b></td>
	</tr>	
</table>
</div>
</body>
</html>
